package observer;

public interface Subject {

    void attach(Observer observer);

    void detach(Observer observer);

    void notifyToAll();

    void setMessage(String string);

    String getMessage();
}
